package com.yx.pc.api.service.impl;

import com.yx.modules.api.dao.TbInterviewDao;
import com.yx.modules.api.entity.TbInterview;
import com.yx.pc.api.service.PcTbInterviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class PcTbInterviewServiceImpl implements PcTbInterviewService {
	@Autowired
	private TbInterviewDao interviewDao;
	
	@Override
	public TbInterview queryObject(Integer id){
		return interviewDao.queryObject(id);
	}
	
	@Override
	public List<TbInterview> queryList(Map<String, Object> map){
		return interviewDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return interviewDao.queryTotal(map);
	}
	
	@Override
	public void save(TbInterview interview){
		interviewDao.save(interview);
	}
	
	@Override
	public void update(TbInterview interview){
		interviewDao.update(interview);
	}
	
	@Override
	public void delete(Integer id){
		interviewDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		interviewDao.deleteBatch(ids);
	}
	
}
